home *** CD-ROM | disk | FTP | other *** search
/ Delphi Magazine Collection 2001 / Delphi Magazine Collection 20001 (2001).iso / DISKS / Issue66 / SQLComp / InterBaseDemo / UFmMain.dfm / UFmMain.txt
Encoding:
Text File  |  2000-10-11  |  5.2 KB  |  256 lines

  1. object FmMain: TFmMain
  2.   Left = 40
  3.   Top = 62
  4.   Width = 729
  5.   Height = 500
  6.   Caption = 'SQL Components Demo (IBX version)'
  7.   Color = clBtnFace
  8.   Font.Charset = DEFAULT_CHARSET
  9.   Font.Color = clWindowText
  10.   Font.Height = -11
  11.   Font.Name = 'MS Sans Serif'
  12.   Font.Style = []
  13.   OldCreateOrder = False
  14.   PixelsPerInch = 96
  15.   TextHeight = 13
  16.   object Label1: TLabel
  17.     Left = 8
  18.     Top = 8
  19.     Width = 103
  20.     Height = 13
  21.     Caption = 'Full name (containing)'
  22.   end
  23.   object Label2: TLabel
  24.     Left = 8
  25.     Top = 56
  26.     Width = 72
  27.     Height = 13
  28.     Caption = 'Hire date (from)'
  29.   end
  30.   object Label3: TLabel
  31.     Left = 8
  32.     Top = 152
  33.     Width = 41
  34.     Height = 13
  35.     Caption = 'Emp. No'
  36.   end
  37.   object Label4: TLabel
  38.     Left = 104
  39.     Top = 56
  40.     Width = 61
  41.     Height = 13
  42.     Caption = 'Hire date (to)'
  43.   end
  44.   object Label5: TLabel
  45.     Left = 8
  46.     Top = 104
  47.     Width = 58
  48.     Height = 13
  49.     Caption = 'Salary (from)'
  50.   end
  51.   object Label6: TLabel
  52.     Left = 104
  53.     Top = 104
  54.     Width = 47
  55.     Height = 13
  56.     Caption = 'Salary (to)'
  57.   end
  58.   object Label7: TLabel
  59.     Left = 72
  60.     Top = 152
  61.     Width = 43
  62.     Height = 13
  63.     Caption = 'Dept. No'
  64.   end
  65.   object Bevel1: TBevel
  66.     Left = 320
  67.     Top = 8
  68.     Width = 9
  69.     Height = 217
  70.     Shape = bsLeftLine
  71.   end
  72.   object Label8: TLabel
  73.     Left = 200
  74.     Top = 8
  75.     Width = 45
  76.     Height = 13
  77.     Caption = 'Job Code'
  78.   end
  79.   object EtFullName: TDMSQLEdit
  80.     Left = 8
  81.     Top = 24
  82.     Width = 185
  83.     Height = 21
  84.     TabOrder = 0
  85.     Criterion.DataSource = DsResult
  86.     Criterion.DataField = 'FULL_NAME'
  87.     Criterion.SQLOperator = opContaining
  88.   end
  89.   object EtHireDateFrom: TDMSQLEdit
  90.     Left = 8
  91.     Top = 72
  92.     Width = 89
  93.     Height = 21
  94.     TabOrder = 1
  95.     Criterion.DataSource = DsResult
  96.     Criterion.DataField = 'HIRE_DATE'
  97.     Criterion.DataType = ftDateTime
  98.     Criterion.SQLOperator = opGreaterThanOrEqualTo
  99.   end
  100.   object PbBuildSQL: TButton
  101.     Left = 8
  102.     Top = 200
  103.     Width = 65
  104.     Height = 25
  105.     Caption = 'Refresh'
  106.     TabOrder = 7
  107.     OnClick = PbBuildSQLClick
  108.   end
  109.   object EtEmpNo: TDMSQLEdit
  110.     Left = 8
  111.     Top = 168
  112.     Width = 57
  113.     Height = 21
  114.     TabOrder = 5
  115.     Criterion.DataSource = DsResult
  116.     Criterion.DataField = 'EMP_NO'
  117.     Criterion.DataType = ftInteger
  118.   end
  119.   object GdResult: TDBGrid
  120.     Left = 8
  121.     Top = 232
  122.     Width = 705
  123.     Height = 233
  124.     Anchors = [akLeft, akTop, akRight, akBottom]
  125.     DataSource = DsResult
  126.     TabOrder = 10
  127.     TitleFont.Charset = DEFAULT_CHARSET
  128.     TitleFont.Color = clWindowText
  129.     TitleFont.Height = -11
  130.     TitleFont.Name = 'MS Sans Serif'
  131.     TitleFont.Style = []
  132.   end
  133.   object EtHireDateTo: TDMSQLEdit
  134.     Left = 104
  135.     Top = 72
  136.     Width = 89
  137.     Height = 21
  138.     TabOrder = 2
  139.     Criterion.DataSource = DsResult
  140.     Criterion.DataField = 'HIRE_DATE'
  141.     Criterion.DataType = ftDateTime
  142.     Criterion.SQLOperator = opLessThanOrEqualTo
  143.   end
  144.   object EtSQL: TMemo
  145.     Left = 328
  146.     Top = 8
  147.     Width = 385
  148.     Height = 217
  149.     Anchors = [akLeft, akTop, akRight]
  150.     Font.Charset = ANSI_CHARSET
  151.     Font.Color = clWindowText
  152.     Font.Height = -11
  153.     Font.Name = 'Courier New'
  154.     Font.Style = []
  155.     ParentColor = True
  156.     ParentFont = False
  157.     ReadOnly = True
  158.     ScrollBars = ssBoth
  159.     TabOrder = 9
  160.   end
  161.   object PbClear: TButton
  162.     Left = 80
  163.     Top = 200
  164.     Width = 49
  165.     Height = 25
  166.     Caption = 'Clear'
  167.     TabOrder = 8
  168.     OnClick = PbClearClick
  169.   end
  170.   object EtSalaryFrom: TDMSQLEdit
  171.     Left = 8
  172.     Top = 120
  173.     Width = 89
  174.     Height = 21
  175.     TabOrder = 3
  176.     Criterion.DataSource = DsResult
  177.     Criterion.DataField = 'SALARY'
  178.     Criterion.DataType = ftCurrency
  179.     Criterion.SQLOperator = opGreaterThanOrEqualTo
  180.   end
  181.   object EtSalaryTo: TDMSQLEdit
  182.     Left = 104
  183.     Top = 120
  184.     Width = 89
  185.     Height = 21
  186.     TabOrder = 4
  187.     Criterion.DataSource = DsResult
  188.     Criterion.DataField = 'SALARY'
  189.     Criterion.DataType = ftCurrency
  190.     Criterion.SQLOperator = opLessThanOrEqualTo
  191.   end
  192.   object EtDeptNo: TDMSQLEdit
  193.     Left = 72
  194.     Top = 168
  195.     Width = 57
  196.     Height = 21
  197.     TabOrder = 6
  198.     Criterion.DataSource = DsResult
  199.     Criterion.DataField = 'DEPT_NO'
  200.     Criterion.DataType = ftInteger
  201.   end
  202.   object LbJobCode: TDMSQLListBox
  203.     Left = 200
  204.     Top = 24
  205.     Width = 113
  206.     Height = 201
  207.     ItemHeight = 13
  208.     Items.Strings = (
  209.       'VP'
  210.       'Eng'
  211.       'Mktg'
  212.       'Mngr'
  213.       'SRep')
  214.     MultiSelect = True
  215.     TabOrder = 11
  216.     Criterion.DataSource = DsResult
  217.     Criterion.DataField = 'JOB_CODE'
  218.   end
  219.   object DsResult: TDataSource
  220.     DataSet = QyResult
  221.     Left = 344
  222.     Top = 240
  223.   end
  224.   object QyResult: TDMSQLIBQuery
  225.     Database = DB
  226.     Transaction = Trans
  227.     BufferChunks = 1000
  228.     CachedUpdates = False
  229.     SQL.Strings = (
  230.       'select * from employee')
  231.     Implementor.SQLOptions = [sqlOpenAfterBuild]
  232.     Left = 256
  233.     Top = 240
  234.   end
  235.   object DB: TIBDatabase
  236.     Connected = True
  237.     DatabaseName = 'C:\Programmi\Borland\InterBase\examples\Database\employee.gdb'
  238.     Params.Strings = (
  239.       'user_name=SYSDBA'
  240.       'password=masterkey')
  241.     LoginPrompt = False
  242.     DefaultTransaction = Trans
  243.     IdleTimer = 0
  244.     SQLDialect = 1
  245.     TraceFlags = []
  246.     Left = 448
  247.     Top = 240
  248.   end
  249.   object Trans: TIBTransaction
  250.     Active = False
  251.     DefaultDatabase = DB
  252.     Left = 552
  253.     Top = 240
  254.   end
  255. end
  256.